import 'package:get/get.dart';

import '../modules/changePassword/bindings/change_password_binding.dart';
import '../modules/changePassword/views/change_password_view.dart';
import '../modules/collect/bindings/collect_binding.dart';
import '../modules/collect/views/collect_view.dart';
import '../modules/feedback/bindings/feedback_binding.dart';
import '../modules/feedback/views/feedback_view.dart';
import '../modules/login/bindings/login_binding.dart';
import '../modules/login/views/login_view.dart';
import '../modules/mine/bindings/mine_binding.dart';
import '../modules/mine/views/mine_view.dart';
import '../modules/myHome/bindings/my_home_binding.dart';
import '../modules/myHome/views/my_home_view.dart';
import '../modules/myWeb/bindings/my_web_binding.dart';
import '../modules/myWeb/views/my_web_view.dart';
import '../modules/study/bindings/study_binding.dart';
import '../modules/study/views/study_view.dart';
import '../modules/tabbarVc/bindings/tabbar_vc_binding.dart';
import '../modules/tabbarVc/views/tabbar_vc_view.dart';
import '../modules/vocabulary/bindings/vocabulary_binding.dart';
import '../modules/vocabulary/views/vocabulary_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.TABBAR_VC;

  static final routes = [
    GetPage(
      name: _Paths.MY_HOME,
      page: () => const MyHomeView(),
      binding: MyHomeBinding(),
    ),
    GetPage(
      name: _Paths.VOCABULARY,
      page: () => const VocabularyView(),
      binding: VocabularyBinding(),
    ),
    GetPage(
      name: _Paths.COLLECT,
      page: () => const CollectView(),
      binding: CollectBinding(),
    ),
    GetPage(
      name: _Paths.MINE,
      page: () => const MineView(),
      binding: MineBinding(),
    ),
    GetPage(
      name: _Paths.TABBAR_VC,
      page: () => const TabbarVcView(),
      binding: TabbarVcBinding(),
    ),
    GetPage(
      name: _Paths.LOGIN,
      page: () => const LoginView(),
      binding: LoginBinding(),
    ),
    GetPage(
      name: _Paths.STUDY,
      page: () => const StudyView(),
      binding: StudyBinding(),
    ),
    GetPage(
      name: _Paths.FEEDBACK,
      page: () => const FeedbackView(),
      binding: FeedbackBinding(),
    ),
    GetPage(
      name: _Paths.MY_WEB,
      page: () => const MyWebView(),
      binding: MyWebBinding(),
    ),
    GetPage(
      name: _Paths.CHANGE_PASSWORD,
      page: () => const ChangePasswordView(),
      binding: ChangePasswordBinding(),
    ),
  ];
}
